<?php

namespace frontend\modules\shop\controllers;

use Yii;
use frontend\components\Controller;

/**
 * 购物车
 * 
 * @author emhome<emhome@163.com>
 * @since 2.0
 */
class GoodsController extends Controller {

    /**
     * actionView
     * 
     * @view view.php
     * @return mixed
     */
    public function actionView($id) {
        $goods = [
            'id' => $id,
            'title' => '班服定制T恤印logo纯棉团队广告衫工服DIY周年同学聚会',
            'desc' => '<span>[免费设计]</span>面料自选/专业图像设计处理/高端班服定制',
            'price' => '369.00',
            'express' => true,
            'remain' => 19,
            'material' => true,
            'mark' => '所有礼品是全新未使用的，但礼品在运输中可能会有轻微刮痕或些许瑕疵，本网接受来函询问但不提供礼品的完全保证；<br>丫丫网所兑换的礼品不提供维修或更换服务。 兑换分为两种，一种是定价兑换，一种是竞价兑换。',
            'content' => '<p><img title="1521103371558172.jpg" src="http://atts.youyuegw.com/shop/201803/15/1521103371558172.jpg"/></p><p><img title="1521103371449334.jpg" src="http://atts.youyuegw.com/shop/201803/15/1521103371449334.jpg"/></p><p><img title="1521103371803844.jpg" src="http://atts.youyuegw.com/shop/201803/15/1521103371803844.jpg"/></p><p><img title="1521103371109615.jpg" src="http://atts.youyuegw.com/shop/201803/15/1521103371109615.jpg"/></p><p><img title="1521103371288219.jpg" src="http://atts.youyuegw.com/shop/201803/15/1521103371288219.jpg"/></p><p><img title="1521103372538191.jpg" src="http://atts.youyuegw.com/shop/201803/15/1521103372538191.jpg"/></p><p><img title="1521103372877208.jpg" src="http://atts.youyuegw.com/shop/201803/15/1521103372877208.jpg"/></p><p><img title="1521103372323209.jpg" src="http://atts.youyuegw.com/shop/201803/15/1521103372323209.jpg"/></p><p><img title="1521103372274098.jpg" src="http://atts.youyuegw.com/shop/201803/15/1521103372274098.jpg"/></p><p><img title="1521103372631784.jpg" src="http://atts.youyuegw.com/shop/201803/15/1521103372631784.jpg"/></p><p><img title="1521103372153075.jpg" src="http://atts.youyuegw.com/shop/201803/15/1521103372153075.jpg"/></p><p><img title="1521103372891694.jpg" src="http://atts.youyuegw.com/shop/201803/15/1521103372891694.jpg"/></p><p><img title="1521103372916801.jpg" src="http://atts.youyuegw.com/shop/201803/15/1521103372916801.jpg"/></p><p><img title="1521103372266046.jpg" src="http://atts.youyuegw.com/shop/201803/15/1521103372266046.jpg"/></p><p><img title="1521103372800654.jpg" src="http://atts.youyuegw.com/shop/201803/15/1521103372800654.jpg"/></p><p><img title="1521103403310086.jpg" alt="3.jpg" src="http://atts.youyuegw.com/shop/201803/15/1521103403310086.jpg"/></p><p><span style="color: rgb(227, 108, 9); font-size: 24px;">此款为：莫代尔纯白色+MN079号图案</span></p><p><span style="color: rgb(227, 108, 9); font-size: 24px;"><br/></span></p><hr/><p><span style="color: rgb(84, 141, 212); font-size: 24px;">高清图案，图下为编号</span></p><p><br/></p><p><img title="1521435053969453.png" src="http://atts.youyuegw.com/shop/201803/19/1521435053969453.png"/></p><p><img title="1521435053860025.png" src="http://atts.youyuegw.com/shop/201803/19/1521435053860025.png"/></p><p><img title="1521435053484189.png" src="http://atts.youyuegw.com/shop/201803/19/1521435053484189.png"/></p><p><img title="1521435053807845.png" src="http://atts.youyuegw.com/shop/201803/19/1521435053807845.png"/></p><p><img title="1521435053977563.png" src="http://atts.youyuegw.com/shop/201803/19/1521435053977563.png"/></p><p><img title="1521435053301239.png" src="http://atts.youyuegw.com/shop/201803/19/1521435053301239.png"/></p><p><img title="1521435054155586.png" src="http://atts.youyuegw.com/shop/201803/19/1521435054155586.png"/></p><p><img title="1521435054862855.png" src="http://atts.youyuegw.com/shop/201803/19/1521435054862855.png"/></p><p><img title="1521435054243762.png" src="http://atts.youyuegw.com/shop/201803/19/1521435054243762.png"/></p><p><img title="1521435054949245.png" src="http://atts.youyuegw.com/shop/201803/19/1521435054949245.png"/></p><p><img title="1521435054534999.png" src="http://atts.youyuegw.com/shop/201803/19/1521435054534999.png"/></p><p><img title="1521435054248823.png" src="http://atts.youyuegw.com/shop/201803/19/1521435054248823.png"/></p><p><img title="1521435054348142.png" src="http://atts.youyuegw.com/shop/201803/19/1521435054348142.png"/></p><p><br/></p><p><br/></p><p><span style="color: rgb(227, 108, 9); font-size: 24px;">如果你需要印其他图案，在线联系客服传图</span><span style="color: rgb(227, 108, 9); font-size: 24px;">即可</span></p><p><span style="color: rgb(227, 108, 9); font-size: 24px;">图片要求：尺寸在1500*1500以上，不清晰的图做到衣服上会影响美观</span></p><p><span style="color: rgb(227, 108, 9); font-size: 24px;"><img title="1521104437940412.png" alt="微信截图_20180315145632.png" src="http://atts.youyuegw.com/shop/201803/15/1521104437940412.png"/></span></p><p><span style="color: rgb(227, 108, 9); font-size: 24px;"><br/></span></p><p><img title="1521104465657769.jpg" src="http://atts.youyuegw.com/shop/201803/15/1521104465657769.jpg"/></p><p><img title="1521104465829730.jpg" src="http://atts.youyuegw.com/shop/201803/15/1521104465829730.jpg"/></p><p><img title="1521104465156858.jpg" src="http://atts.youyuegw.com/shop/201803/15/1521104465156858.jpg"/></p><p><img title="1521104465932167.jpg" src="http://atts.youyuegw.com/shop/201803/15/1521104465932167.jpg"/></p><p><span style="color: rgb(227, 108, 9); font-size: 24px;"></span></p>',
            'thumb' => [
                'https://img.yzcdn.cn/public_files/2017/10/24/e5a5a02309a41f9f5def56684808d9ae.jpeg',
                'https://img.yzcdn.cn/public_files/2017/10/24/1791ba14088f9c2be8c610d0a6cc0f93.jpeg'
            ]
        ];
        return [
            'goods' => $goods,
        ];
    }

}
